package com.aaa.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ：晋升（js20020923@qq.com）
 * @date ：Created in 2023/3/8 2:15
 * @description：
 * @modified By：
 * @version:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "统一的json对像")
public class Result<T> {
    @ApiModelProperty(value = "状态码 200成功 500服务器错误")
    private Integer code;
    @ApiModelProperty(value = "消息内容")
    private String msg;
    @ApiModelProperty(value = "响应的数据")
    private T data;
}

